[INFO] cloning repository https://github.com/cottonguard/rust-http-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cottonguard/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottonguard%2Frust-http-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottonguard%2Frust-http-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9a781651b7d6a31c95eed92255942ac6052211ae
[INFO] building cottonguard/rust-http-server against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottonguard%2Frust-http-server" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cottonguard/rust-http-server on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/cottonguard/rust-http-server
[INFO] finished tweaking git repo https://github.com/cottonguard/rust-http-server
[INFO] tweaked toml for git repo https://github.com/cottonguard/rust-http-server written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/cottonguard/rust-http-server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 9675e054ab91a697564bb754291036a99aed51e59c5b34c78c8a07acdbec71c8
[INFO] running `Command { std: "docker" "start" "-a" "9675e054ab91a697564bb754291036a99aed51e59c5b34c78c8a07acdbec71c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9675e054ab91a697564bb754291036a99aed51e59c5b34c78c8a07acdbec71c8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9675e054ab91a697564bb754291036a99aed51e59c5b34c78c8a07acdbec71c8", kill_on_drop: false }`
[INFO] [stdout] 9675e054ab91a697564bb754291036a99aed51e59c5b34c78c8a07acdbec71c8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a2c6dfd2ad74d3c00b903922eb6a6290bad06bcaee7417bdc217f7d8667da566
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a2c6dfd2ad74d3c00b903922eb6a6290bad06bcaee7417bdc217f7d8667da566", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling termcolor v1.0.4
[INFO] [stderr]    Compiling slab v0.4.1
[INFO] [stderr]    Compiling regex-syntax v0.6.2
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling humantime v1.1.1
[INFO] [stderr]    Compiling memchr v2.1.0
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]    Compiling mio v0.6.16
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling aho-corasick v0.6.8
[INFO] [stderr]    Compiling regex v1.0.5
[INFO] [stderr]    Compiling env_logger v0.5.13
[INFO] [stderr]    Compiling http v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function is never used: `method`
[INFO] [stdout]   --> src/request.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn method(&self) -> &Method {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `http_version`
[INFO] [stdout]   --> src/request.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub fn http_version(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `raw_headers`
[INFO] [stdout]   --> src/request.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn raw_headers(&self) -> &[String] {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `kind`
[INFO] [stdout]    --> src/request.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub fn kind(&self) -> ErrorKind {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 13.94s
[INFO] running `Command { std: "docker" "inspect" "a2c6dfd2ad74d3c00b903922eb6a6290bad06bcaee7417bdc217f7d8667da566", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2c6dfd2ad74d3c00b903922eb6a6290bad06bcaee7417bdc217f7d8667da566", kill_on_drop: false }`
[INFO] [stdout] a2c6dfd2ad74d3c00b903922eb6a6290bad06bcaee7417bdc217f7d8667da566
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 43adbd0f8691092337515de9b60835a7bb410ac78517bd69881aec7958fbacdc
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "43adbd0f8691092337515de9b60835a7bb410ac78517bd69881aec7958fbacdc", kill_on_drop: false }`
[INFO] [stderr]    Compiling http v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/static_router.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/request.rs:135:13
[INFO] [stdout]     |
[INFO] [stdout] 135 |             b"Host: example.com:7777",
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ expected an array with a fixed size of 27 elements, found one with 22 elements
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected type `&[u8; 27]`
[INFO] [stdout]             found reference `&'static [u8; 22]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/request.rs:152:34
[INFO] [stdout]     |
[INFO] [stdout] 150 |         ].iter().map(|s| s.to_string());
[INFO] [stdout]     |                      ----------------- the found closure
[INFO] [stdout] 151 | 
[INFO] [stdout] 152 |         let req = Request::parse(msg);
[INFO] [stdout]     |                                  ^^^ expected `&[u8]`, found struct `Map`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                   found struct `Map<std::slice::Iter<'_, &str>, [closure@src/request.rs:150:22: 150:39]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/request.rs:165:34
[INFO] [stdout]     |
[INFO] [stdout] 163 |         ].iter().map(|s| s.to_string());
[INFO] [stdout]     |                      ----------------- the found closure
[INFO] [stdout] 164 | 
[INFO] [stdout] 165 |         let req = Request::parse(msg);
[INFO] [stdout]     |                                  ^^^ expected `&[u8]`, found struct `Map`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&[u8]`
[INFO] [stdout]                   found struct `Map<std::slice::Iter<'_, &str>, [closure@src/request.rs:163:22: 163:39]>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `http`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "43adbd0f8691092337515de9b60835a7bb410ac78517bd69881aec7958fbacdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43adbd0f8691092337515de9b60835a7bb410ac78517bd69881aec7958fbacdc", kill_on_drop: false }`
[INFO] [stdout] 43adbd0f8691092337515de9b60835a7bb410ac78517bd69881aec7958fbacdc
